<?php


//Route::get('x', 'admin/Admin/admin');
Route::get('x/index', 'admin/Admin/index');
Route::get('x/index2', 'admin/Admin/index2');

Route::get('x/dao/:class/:page/[:currenttablecount]/[:newtablecount]', 'admin/Article/dao4');
Route::get('x/ctable/:page', 'admin/Article/ctable');

Route::get('x/testconsole/:id/:ided', 'admin/Article/testConsole');
Route::get('x/getinfo', 'admin/Admin/getBookInfoForMobileIndex');
//变量规则
Route::pattern([
    'id'   => '\d+',
    'class' => '\w+',
    'page' => '\d+',
    'currenttablecount'=>'\d+',
    'newtablecount'=>'\d+'
]);